package com.starlight.easybuyprictice.mapper;

import com.starlight.easybuyprictice.entity.MsMember;

/**
 * @Author yfy2001
 * @date 2022/11/28 20:51
 */
import com.starlight.easybuyprictice.entity.MsMemberExample;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MsMemberMapper {
    long countByExample(MsMemberExample example);

    int deleteByExample(MsMemberExample example);

    int deleteByPrimaryKey(Integer memberId);

    int insert(MsMember record);

    int insertSelective(MsMember record);

    List<MsMember> selectByExample(MsMemberExample example);

    MsMember selectByPrimaryKey(Integer memberId);

    int updateByExampleSelective(@Param("record") MsMember record, @Param("example") MsMemberExample example);

    int updateByExample(@Param("record") MsMember record, @Param("example") MsMemberExample example);

    int updateByPrimaryKeySelective(MsMember record);

    int updateByPrimaryKey(MsMember record);

    List<MsMember> selectAllMember();
}
